Skip to main content

All Questions

0votes
0answers
28views

Which type of GAN will be appropriate for regression?

I designed a cGAN for a regression problem and prediction of some values like the mass. I've tried different activation functions and optimizers as well as loss functions. but my model is not stable ...
Mali's user avatar
0votes
0answers
16views

How to make model know that LOW price always lesser or equal than CLOSE price?

I have this timeseries data, it retrieved based on last 1 day with 15m per timestep: I perform global min-max scaling for entire ...
Muhammad Ikhwan Perwira's user avatar
1vote
1answer
159views

Which loss function to use for a convolution NN for noise removal of high resolution images

My task is to remove small random spots from my 4 mega pixel images. My strategy was to feed a convolution network these images as I have the true images without the spots in them. The current loss ...
ando's user avatar
1vote
0answers
425views

How can I write a custom loss function to punish lower predicted values?

I am trying to write a custom loss function for XGBRegressor that needs to punish predicted values that are under some arbitrary threshold. The code I came up with does not affect the results at all, ...
mctasar's user avatar
0votes
1answer
409views

Is gradient descent useful to get the least mean squared error in linear regression?

I am new to machine learning. I have read about the linear regression where-in the ideal model is a line which has the least mean squared error. In multi-variable linear regression we would have a ...
variable's user avatar
1vote
1answer
19views

The proper loss function for regression that prediction values do not lie on one side of the real values

I'm doing a prediction task using machine learning. First I'm doing a regression task, then I use the values to predict its class. I used MSE as loss function. However, my prediction values are ...
user900476's user avatar
1vote
1answer
104views

Can't understand an MSE loss function in a paper

I'm reading a paper published in nips 2021. There's a part in it that is confusing: This loss term is the mean squared error of the normalized feature vectors and can be written as what follows: ...
Marzi Heidari's user avatar
1vote
2answers
1kviews

Why is cross entropy based on Bernoulli or Multinoulli probability distribution?

When we use logistic regression, we use cross entropy as the loss function. However, based on my understanding and https://machinelearningmastery.com/cross-entropy-for-machine-learning/, cross entropy ...
Feng Chen's user avatar
1vote
0answers
227views

Keras custom metric doesn't work as loss function [closed]

Referencing my previous question here. I've managed to get my angular error metric working with tf.py_function; ...
latida's user avatar
1vote
1answer
119views

What quantile is used for the initial DummyRegressor for Gradient Boosting Regressor in scikit-learn?

According to the documentation of Scikit-Learn Gradient Boosting Regressor: init: estimator or ‘zero’, default=None: An estimator object that is used to compute the initial predictions. init has to ...
Chong Lip Phang's user avatar
0votes
1answer
25views

regression network that will be optimised on a subset of the data

I am trying to optimise my network that is trying to perform regression. Currently, the dataset is dominated by values in a certain range. It is very good at predicting these values. I want to try to ...
Andrew's user avatar
3votes
2answers
539views

Boosted tree regression loss function when data has occasionally very large values to predict?

I have a regression problem where most of my target variables are down in the range 5-30, but occasionally the target variable will spike up to 100, 500, or even 5000. These values are not spurious ...
gammapoint's user avatar
3votes
2answers
1kviews

Which loss function is the best loss function when using XGB regression with highly skewed dataset?

Which loss function is the best loss function when using XGB regression with a highly skewed dataset? The skewness of the data is very high. I used XGBoost with objective function of linear ...
nimar's user avatar
1vote
0answers
108views

Which activation function of the output layer and which loss function are advised to be used for bounded regression?

I want my (deep) neural network to produce an output from a certain range, in my case between 0 and 255. I have scaled the labels from [0..255] to [0..1]. For the neural network, I have tried a ...
nim.py's user avatar
2votes
1answer
5kviews

How to use r2-score as a loss function in LightGBM?

I am trying to implement a custom loss function in LightGBM for a regression problem. The intrinsic metrics do not help me much, because they penalise for outliers... Is there any way to use ...
Artem Smirnov's user avatar

153050per page
close